<div class="container">
    <div class="media">
        <div class="media-left">
            <a href="javascript:void(0);">
                <img class="media-object" src="<?= $user['avatar'] ?>" width="64" height="64">
            </a>
        </div>
        <div class="media-body">
            <h4 class="media-heading"><?= $user['nickname'] ?></h4>

            <p><?= $user['province'] . '·' . $user['city'] ?></p>
        </div>
    </div>
    <a href="<?= Yii::$app->urlManager->createUrl(['oauth/success', 'key' => $key]) ?>" class="btn btn-block btn-info">确认登录</a>
</div>